<template>
    <div>
        这里是首页<br>
        <router-link to="/">登录</router-link>
        <router-link :to="{ name: 'detail',path: '/detail/5', params: { id: 5 }}">详情</router-link>
    </div>
</template>

<script>
export default {
    name: 'Index'
}
</script>

<style lang="">
    
</style>